package com.likelist.model;

public class LikeListService {
	Like_listDAO_interface dao;
	
	public LikeListService() {
		dao = new Like_listDAO();
	}
	
	public Like_listVO addLikelist(String mAccount ,Integer goodsNo) {
		Like_listVO lVO = new Like_listVO();
		lVO.setMaccount(mAccount);
		lVO.setGoodsno(goodsNo);
		
		dao.insert(lVO);
		
		return lVO;
	}
	
	public void deleteLikelist(String mAccount ,Integer goodsNo) {
		dao.delete(mAccount, goodsNo);
	}
}
